import java.util.List;


public class Util {

	/**
	 * 把一个字符串列表的字符串拼接成一个，用分隔符separator隔开
	 * */
	public static String strConcat(List<String> list, String separator){
		boolean isFirst = true;
		String result = "";
		for(String s : list){
			if(!isFirst){
				result += separator;
			}
			result += s;
			isFirst = false;
		}
		return result;
	}
	
	
	
	
	
	
	
	
	
	
	
	
}
